package Mangos::DB::Mangos::PetNameGeneration;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'pet_name_generation',

    columns => 
    [
        id    => { type => 'integer', not_null => 1 },
        word  => { type => 'scalar', length => 255, not_null => 1 },
        entry => { type => 'integer', default => '0', not_null => 1 },
        half  => { type => 'integer', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'id' ],
);

1;

package Mangos::DB::Mangos::PetNameGeneration::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::PetNameGeneration' }

__PACKAGE__->make_manager_methods('pet_name_generation');

1;
